#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int n, s = 0;
	while (scanf("%d",&n) != EOF)
	{
		s += n;
	}
	printf("%d", s);
	return 0;
}